module.exports = {
  'post /mock/getUserInfo': {
    code: 2000,
    message: 'success',
    data: {
      staffId: (_) => _.uuid(),
      staffFullName: (_) => _.cstr(4, 8),
      deptName: (_) => _.cstr(4, 8),
      staffImageUrl: (_) => _.img(),
    },
  },
  'post /mock/getTodoList': {
    code: 2000,
    message: 'success',
    data: {
      'list|10': [
        {
          uid: (fns) => fns.uuid(),
          No: (fns) => fns.qq(),
          'status|1': [0, 1, 2, 3],
          measures: (fns) => fns.cstr(),
          person: (fns) => fns.cstr(4, 8),
          date: (fns) => fns.time(),
          purpose: (fns) => fns.cstr(),
        },
      ],
      total: 33,
    },
  },
  'post /mock/projectQuery/getList': {
    code: 2000,
    message: 'success',
    data: {
      'list|10': [
        {
          uid: (fns) => fns.uuid(),
          No: (fns) => fns.qq(),
          name: (fns) => fns.cstr(4, 8),
          PMName: (fns) => fns.cstr(4, 8),
          startDate: (fns) => fns.time(),
          endDate: (fns) => fns.time(),
        },
      ],
      total: 33,
    },
  },
  'post /mock/projectQuery/getDetail': {
    code: 2000,
    message: 'success',
    data: {
      uid: (fns) => fns.uuid(),
      No: (fns) => fns.qq(),
      name: (fns) => fns.cstr(4, 8),
      PMName: (fns) => fns.cstr(4, 8),
      startDate: (fns) => fns.time(),
      endDate: (fns) => fns.time(),
    },
  },
}
